package com.limingru.online_class.mapper;

import com.limingru.online_class.domain.Video;
import com.limingru.online_class.domain.VideoBanner;
import com.limingru.online_class.domain.vo.VideoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VideoMapper {
    List<VideoBanner> listBanners();

    VideoVO findVideoDetailByVideoId(@Param("videoId") Integer videoId);

    Video findVideoByVideoId(@Param("videoId") Integer videoId);

    List<Video> findAllVideos();
}
